package com.kaili.basic.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;


@Data
@ApiModel(description = "PDA新增Dto")
public class BasePdaAddDto {
    @ApiModelProperty(name = "pdaId", value = "PDA的ID")
    private Long pdaId;

    @ApiModelProperty(name = "pdaSn", value = "PDA的SN",required = true)
    @NotEmpty(message = "PDA的SN不能为空")
    private String pdaSn;

    @ApiModelProperty(name = "firmId", value = "厂家ID",required = true)
    @NotNull(message = "厂家ID不能为空")
    private Long firmId;

    @ApiModelProperty(name = "deviceId", value = "设备ID",required = true)
    @NotNull(message = "设备ID不能为空")
    private Long deviceId;

    @ApiModelProperty(name = "telephone", value = "手机号码")
    private String telephone;

    @ApiModelProperty(name = "macAddress", value = "MAC地址")
    private String macAddress;

    @ApiModelProperty(name = "siteId", value = "使用网点ID")
    private Long siteId;

    @ApiModelProperty(name = "employeeId", value = "使用人员ID")
    private Long employeeId;

    @ApiModelProperty(name = "enable", value = "启用状态(0_未启用,1_已启用)")
    private String enable;

    @ApiModelProperty(name = "remark", value = "备注")
    public String remark;
}
